import useAxiosApi from '/@/utils/useAxiosApi';
const baseUrl = import.meta.env.VITE_APP_EDU_API;

/**
 * 获取校区
 * @returns UseAxiosReturn
 */
export function getZoomIds() {
    return useAxiosApi(baseUrl+`/getZoomIds`, {
        method: 'GET',
        data: {},
    });
}

/**
 * 获取上课情况
 * @returns UseAxiosReturn
 */
export function getClassInfo(zc, week, section, zoomId) {
    return useAxiosApi(baseUrl+`/getClassInfo`, {
        method: 'POST',
        data: {
            zc,
            week,
            section,
            zoomId
        },
    });
}
